<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="/timefunction" prefix="tmf"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/content/js/ajaxrequests.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/content/js/refreshSideBar.js"></script>


		<div id="sidebar">
		<ul>
			<li><form method="get" id="searchform" action="${pageContext.request.contextPath}/">
<div>
<input type="text" value="" name="s" id="s" />
<input type="image" src="${pageContext.request.contextPath}/content/themes/holiday-resort-10/images/search_btn.gif" id="searchsubmit" value="Search" />
</div>
</form>
</li><li id="text-3" class="widget widget_text"><h2 class="widgettitle">时间</h2>			
<div class="textwidget">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
       <tr>
      <td align="left"><!--Content Start--><object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" height="50" width="180" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="http://d.lanrentuku.com/lanren/flashtime/flashtime-0151.swf" name="movie" />
<param value="high" name="quality" />
<param value="transparent" name="wmode" /></object><!--Content End--></td>
    </tr>
     </table></div>
		</li><li id="categories-3" class="widget widget_categories"><h2 class="widgettitle">分类目录</h2>
		<ul id="cat-ul">
	<li class="cat-item cat-item-1">
	载入中···
</li>
		</ul>
</li>
		<li id="recent-posts-3" class="widget widget_recent_entries">
			<h2 class="widgettitle">
				最近文章
			</h2>
			<ul id=art-ul>
				<li>
					载入中···
				</li>
			</ul>
		</li>
		<li id="recent-comments-3" class="widget widget_recent_comments">			
		<h2 class="widgettitle">最近评论</h2>			
		<ul id="comt-ul">
		<li class="recentcomments">载入中···</li>
		</ul>
		</li>
<li id="fmp-jw-widget-2" class="widget fmp-jw-widget"><h2 class="widgettitle">Flash MP3 Player JW</h2>
<div  id="css8b78b3a232c71c8167c3187f0f12f099" >
    <p>Here is the Music Player. You need to installl flash player to show this cool thing!</p>
</div>
<script type="text/javascript">

var flashvars = {
  config: "${pageContext.request.contextPath}/content/fmp-jw-files/configs/fmp_jw_widget_config.xml?234334",
  file  : "${pageContext.request.contextPath}/content/fmp-jw-files/playlists/fmp_jw_widget_playlist.xml?32455"
};
var params = {
  wmode             : "opaque",
  quality           : "high",
  allowFullScreen   : "true",
  allowScriptAccess : "true"
};
var attributes = {};

swfobject.embedSWF("${pageContext.request.contextPath}/content/plugins/flash-mp3-player/player/player.swf", "css8b78b3a232c71c8167c3187f0f12f099", "180", "200", "9", "expressInstall.swf", flashvars, params, attributes);

</script>

</li>
		 <li><h2 id="calH2" class="widgettitle">日历</h2>
			<div id="calendar_wrap">
			</div>
				<script type="text/javascript" src="${pageContext.request.contextPath}/content/js/calendar.js"></script>
				<script type="text/javascript">
					$("#calH2").ready(function(){
						getCalendar();
					});
					$("#calH2").click(function(){
						getCalendar();
					});
				</script>
				<script type="text/javascript">
				
					//在	<div id="calendar_wrap">中生成一个日历对象<div class='calendar'>
					function getCalendar(){
					var obj=document.getElementById("calendar_wrap");
					if(null==obj.firstChild){
						obj.innerHTML= HS_calender(new Date());
					 }else{
					 		obj.removeChild(obj.firstChild);
					 	}
					}
				</script>
			
	</li>

<li id="linkcat-2" class="widget widget_links">
<h2 class="widgettitle">链接表</h2>
	<ul class='xoxo blogroll' id="link-ul">
		<li>载入中···</li>
	</ul>
</li>
<li id="meta-4" class="widget widget_meta"><h2 class="widgettitle">功能</h2>		
<ul>
								<c:if test="${adminIsLogin==null}">
								<li>
									<a href="${pageContext.request.contextPath}/login.jsp">管理员登陆</a>
								</li>
								</c:if>
								<c:if test="${adminIsLogin!=null}">
								<li>
									<a href="${pageContext.request.contextPath}/admin">博客管理</a>
								</li>
								<li>
									<a
										href="${pageContext.request.contextPath}/admin.do?method=logout">退出</a>
								</li>
								</c:if>
								
							</ul>
</li>				

		</ul>
	</div>	